home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network CD 1
/
Network CD.iso
/
amospd
/
491-500
/
apd500
/
ben_ashley
/
pot-of-gold.doc
< prev
next >
Wrap
Text File
|
1986-08-03
|
2KB
|
55 lines
Pot Of Gold Demonstration
===========================
In Issue #12, of Totally Amos, some Graphics were provided, of a Lepricorn,
fully animated. Anne asked Totally Amos users to write a 'One Screen Wonder'
to show off the graphics. Well, this is what I have done!
Its about 35k in all, and does not need any extra files as the graphics are
included. The Basic idea is to collect the pots of gold which appear randomly
on the screen. When you have collected them all, its on to the next level
where there are more pots.
You can't die in this. There is a little frog which leaps around after you,
but its A friendly frog. You can bounce of the mushrooms to collect pots which
are higher up on the screen.
Thats about it really.
The program is relatively simple. I use Floating Point Variables as this
allows greater movement control, and it is easier to control the speed of the
Animation frames. It works nicely, and you'll be greeted with nice animation
when you move the joystick.
Routines to look at:
PCONTROL - Handles the Player Movement and Animation
BIMAGE - Tells the program which image to use when bouncing
off a Mushroom ( Depends on Direction ).
ICHECK - Keeps all the Image and Co-Ordinate Values, in
range.
FROGL - Bounces Frog Left
FROGR - Bounces Frog Right
You will notice if you look at the listing, that when I increase the IMAGE
variable, I increase it by 0.5. This means it updates the image once every two
frames, and helps it to sync it in with the movement.
It also has Velocity in it. If you are running right, and you push left, he
will skid for a bit before changing direction. Its all very simple to do, and
you can steal some of the routines if you wish, as long as you state that you
didn't do them, but an idiot called Ben Ashley did.
I would like to do a full game using these Graphics, encorporating the other
Graphic set ( Of the Woodman ), into the game aswell. It would be a Scrolling
affair, using TOME. Nothing original, but, it would be nice anyway.
So if the artist of those graphics, is reading this, how about sending in some
16x16, or 32x32 Map tiles in?
Cheers, have fun....
Ben Ashley